package com.jnxx.okr.mapper;

import com.jnxx.okr.domain.Renew;
import com.jnxx.basic.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author haha
 * @since 2023-09-21
 */
public interface RenewMapper extends BaseMapper<Renew> {

    List<Renew> getRenewListByOkrId(Long parentId);

    List<Renew> findByOkrId(Long okrId);

    List<Renew> getRenewListByParentId(Long parentId);

    void batchDelByOkrId(List<Long> deletedKrIds);

    void delByParentId(Long id);
}
